package org.jeecg.modules.controlInstall.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 企业管控设置
 * @Author: jeecg-boot
 * @Date:   2024-04-10
 * @Version: V1.0
 */
@Data
@TableName("control_install")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="control_install对象", description="企业管控设置")
public class ControlInstall implements Serializable {
    private static final long serialVersionUID = 1L;

    /**主键*/
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
    /**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
    /**创建日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
    /**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
    /**更新日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
    /**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
    /**管控说明*/
    @Excel(name = "管控说明", width = 15)
    @ApiModelProperty(value = "管控说明")
    private java.lang.String controlDetails;
    /**开始时间*/
    @Excel(name = "开始时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开始时间")
    private java.util.Date beginDate;
    /**结束时间*/
    @Excel(name = "结束时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束时间")
    private java.util.Date endDate;
    /**管控动作*/
    @Excel(name = "管控动作", width = 15, dicCode = "gkdz")
    @Dict(dicCode = "gkdz")
    @ApiModelProperty(value = "管控动作")
    private java.lang.Integer action;
    /**管控类型*/
    @Excel(name = "管控类型", width = 15, dicCode = "gklx")
    @Dict(dicCode = "gklx")
    @ApiModelProperty(value = "管控类型")
    private java.lang.String type;
    /**管控范围*/
    @Excel(name = "管控范围", width = 15, dicCode = "pfbz")
    @Dict(dicCode = "pfbz")
    @ApiModelProperty(value = "管控范围")
    private java.lang.String controlRange;
    /**管控时段*/
    @Excel(name = "管控时段", width = 15)
    @ApiModelProperty(value = "管控时段")
    private java.lang.String timeFrame;
    /**管控公告*/
    @Excel(name = "管控公告", width = 15)
    @ApiModelProperty(value = "管控公告")
    private java.lang.String notice;

    /**分公司地址*/
    @Excel(name = "分公司地址", width = 15)
    @ApiModelProperty(value = "分公司地址")
    private java.lang.String branchCompanyName;

    @Excel(name = "企业名称", width = 15, dicCode = "company_name")
    @Dict(dicCode = "company_name")
    @ApiModelProperty(value = "企业名称")
    private java.lang.String companyName;
}
